package com.market.service;

import com.market.common.request.WorkerRequestParams;
import com.market.entity.Worker;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author :  KanShan
 * @version : 1.8
 * @Date: 2021/11/29/19:45
 * @注释 :
 */
public interface WorkerService {

    List<Worker> findWorker();

    List<Worker> listWorkerById();

    List<Worker> selectLisByName(String name);

    int register(Worker worker);

    int deleteWorker(Long id);

    int updateWorker(Worker worker);

    int updateWorkerPassword(Integer workerId, String password);

    Worker login(Long workerId, String password);

}
